package com.yzf.demo.demo.ReflectionMechanism;

import java.lang.reflect.Method;

/**
 * Created by 于占峰 on 2020/3/24/024.
 */
public class GetInterfaces {
    public static void main(String[] args) throws NoSuchMethodException {
        Class clazz = DemoBean.class;
        Class[] interfaces = clazz.getInterfaces();
        System.out.println(interfaces);
    }
}
